<?php

return [
    // 默认磁盘
    'default' => env('filesystem.driver', 'local'),
    // 磁盘列表
    'disks' => [
        'local' => [
            'type' => 'local',
            'root' => app()->getRuntimePath() . 'storage',
        ],
        'public' => [
            // 磁盘类型
            'type' => 'local',
            // 磁盘路径
            'root' => app()->getRootPath() . 'public/uploads',
            // 磁盘路径对应的外部URL路径
            'url' => '/uploads',
            // 可见性
            'visibility' => 'public',
        ],
        //七牛云
        'qiniu' => [
            'type' => 'qiniu',
            'accessKey' => '', //你的accessKey
            'secretKey' => '', //你的secretKey
            'bucket' => '', //你的存储空间名
            'url' => '', //你的七牛云加速域名
        ],
        'aliyun' => [
            'type' => 'aliyun',
            'accessId' => '',
            'accessSecret' => '',
            'bucket' => '',
            'endpoint' => '',
            'url' => '',
        ],
        'qcloud' => [
            'type' => 'qcloud',
            'region' => '', //bucket 所属区域 英文
            'appId' => '', // 域名中数字部分
            'secretId' => '',
            'secretKey' => '',
            'bucket' => '',
            'timeout' => 60,
            'connect_timeout' => 60,
            'cdn' => '',
            'scheme' => 'https',
            'read_from_cdn' => false,
        ],
    ],
];
